package com.fudian.spark_platform.Output

import com.fudian.spark_platform.Configure.OutputConfig
import org.apache.spark.sql._

/**
  * CopyRrigt FuMan AI DataDimming.co SHANGHAI,RPC
  * File can't be used to License
  * Created by XiaoJun on 2018/3/14.
  */
class BaseOutput {


    var df:DataFrame = null
    var config:OutputConfig = null

    def this(df:DataFrame,config:OutputConfig) = {
        this()
        this.df = df
        this.config = config
    }

    def output() ={
        this.df.show(false)
    }
}
